//
//  MuseekdController.h
//  SolarSimple
//
//  Created by Marcelo Alves on 13/10/08.
//  Copyright 2008 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "SolarSeekConnection.h"

@interface MuseekdController : NSDocument {
  NSTask *museekd;
  SolarSeekConnection *connection;
  IBOutlet NSMutableArray *sidebarItems;
  UInt16 maxFilesPerSearch;
  UInt16 maxPeersPerSearch;
}

@property (readwrite) UInt16 maxFilesPerSearch;
@property (readwrite) UInt16 maxPeersPerSearch;

-(void) startMuseekd;
-(void) stopMuseekd;
-(void) search:(NSString *)term;
-(void) downloadFile:(Result *)file;



@end
